package com.net.xpay.common.dao.admin.rbac;

import com.net.xpay.common.domain.admin.rbac.Permission;
import com.net.common.dao.PagedMapper;
import com.net.common.annotation.DataCommon;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataCommon
@Repository
public interface PermissionMapper extends PagedMapper<Long, Permission> {
    List<Permission> findByAdminUserId(@Param("adminUserId") Long adminUserId);
}
